package com.frame.hibernate.sql;

import org.hibernate.Hibernate;
import org.hibernate.dialect.SQLServerDialect;
import org.hibernate.dialect.function.StandardSQLFunction;

public class MySQLServerDialect extends   SQLServerDialect{

	public MySQLServerDialect(){
		super();
//	registerFunction(   "convert ",   new   StandardSQLFunction("",Hibernate.STRING)   );   
//	registerFunction(   "cast ",   new   StandardSQLFunction(Hibernate.STRING)   );   
//	registerFunction(   "left ",   new   StandardSQLFunction(Hibernate)   );   
		registerFunction(   "length",   new   StandardSQLFunction("length",Hibernate.STRING)   );
//	registerFunction(   "substring ",   new   StandardSQLFunction(Hibernate.STRING)   );      
	}
}
